import axios from '@/service/axios'

const mockbaseurl = import.meta.env.VITE_MOCK_API_URL
export class AppMockService {
  static async getAllArticles() {
    return await axios.get(`${mockbaseurl}/mock/allArticles`)
  }
  static async getDouyinData() {
    return await axios.get(`${mockbaseurl}/mock/douyinData`)
  }
  static async getChannelsData() {
    return await axios.get(`${mockbaseurl}/mock/channelsData`)
  }
  static async getOfficialAccountsData() {
    return await axios.get(`${mockbaseurl}/mock/officialAccountData`)
  }
}
